'user strict';
angular.module('campusRecruitingApp')
	.factory('UserService', function($http) {
		return {
			signIn : function(email,pwd,success,failed){
				var url = "http://localhost:8080/DuC/api/signIn";
				var data = {
					email: email,
					pwd: pwd
				};
				$http.post(url,data).success(function(response){
					console.log(response);
				}).error(function(response){
					console.log(response);
				});
			}
		};
	});